package com.wh.base.sys.other.controller.form;

import io.swagger.annotations.ApiOperation;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
@ApiOperation(value = "其他证书查询表单类")
public class SearchPageForm {
	
	@Schema(description = "姓名")
    private String name;
	
	@Schema(description = "身份证号")
    private String cardNumber;

    @Schema(description = "学号")
    private String studentNumber;

    @Schema(description = "证书名称")
    private String certName;

    @Schema(description = "证书编号")
    private String certSerial;

    @Schema(description = "证书类型")
    private String certType;

    @Schema(description = "发证日期")
    private String licenceIssued;

    @NotNull(message = "pageNum不能为空")
    @Min(value = 1, message = "pageNum不能小于1")
    @Schema(description = "页数")
    private Integer pageNum;

    @NotNull(message = "pageSize不能为空")
    @Min(value = 1, message = "pageSize不能小于1")
    @Schema(description = "每页记录数")
    private Integer pageSize;

}
